package org.example.ch02.p29;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double x=sc.nextDouble();
        double y=sc.nextDouble();
        boolean isInRectangle = (x >= -5 && x <= 5) && (y >= -2.5 && y <= 2.5);
        if (isInRectangle) {
            System.out.println("In the rectangle");
        }else{
            System.out.println("Not in the rectangle");
        }
        sc.close();
    }
}
